import{d as m,O as f,B as o,b as k,o as e,F as h,c as t,e as n,u as a,s as c,be as l}from"./CtbHscGXagutd.js";import{s as v}from"./BsAJcGVb1t8dnT.js";import{_ as r}from"./BO-1Nlv-3PfrX1.js";const C=m({__name:"app-navigation",props:{sidebar:{type:Boolean,default:!0}},setup(u){f(()=>o.hideSidebar,s=>{v("sidebar-hidden",s)},{immediate:!0});function b(){l.back()}function p(){l.forward()}const i=!0;return(s,d)=>(e(),k(h,null,[u.sidebar?(e(),t(a(r),{key:0,class:"app-navigation-button-sidebar",icon:"sidebar",onClick:d[0]||(d[0]=_=>a(o).hideSidebar=!a(o).hideSidebar)})):n("",!0),a(i)?(e(),t(a(r),{key:1,class:"app-navigation-button-back",icon:"chevron-left",disabled:!a(c).back,onClick:b},null,8,["disabled"])):n("",!0),a(i)?(e(),t(a(r),{key:2,class:"app-navigation-button-forward",icon:"chevron-right",disabled:!a(c).forward,onClick:p},null,8,["disabled"])):n("",!0)],64))}});export{C as _};